import Index from '../views/Index.vue'
import Login from "@/components/Login.vue";
import {createRouter, createWebHashHistory} from "vue-router";

const routes = [
	{
		path: '/index',
		name: 'index',
		component: Index
	},
	{
		path: '/login',
		name: 'login',
		component: Login
	}
]

const router = createRouter({
	history: createWebHashHistory(),
	routes
})

export default router